﻿@using Kwd.Summary.Extensions
@model Kwd.Summary.ViewModels.SummaryTypePartSettingsViewModel

<fieldset>
  <legend>Summary settings</legend>
  <label>Flavor
    <input type="text" name="@Html.FieldNameFor(m => m.Flavor)" value="@Model.Flavor" />
    <span class="hint">The html markup flavor to use.</span>  
  </label>
  
<label>Default strategy
  <select name="@Html.FieldNameFor(m =>m.DefaultStrategy)">
    @foreach (var item in Model.StrategyOptions) { 
      <option value="@item.Value" @Html.If(item.Selected, "selected=\"selected\"") >@item.Text</option>
    }
  </select>
  <span class="hint">New content items use this by default, can be changed per-item.</span>
</label>
</fieldset>